﻿using System;
using System.Collections.Generic;
using System.Text;
using Elight.Entity;

namespace Elight.Service.Interfaces
{
    public partial interface IUserSigninService : IBaseService<Sys_User_Signin>
    {
        /// <summary>
        /// 用户登陆验证。
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="password">密码（第一次md5加密后）</param>
        /// <returns>验证成功返回用户实体，验证失败返回null|提示消息</returns>
        Tuple<Sys_User, string> Validate(string userName, string password);
    }
}
